package com.hqyj.config;

import com.hqyj.service.TestService;
import com.hqyj.service.impl.TestServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 项目:demo-springboot-230701
 * 描述:
 * 时间:2023/9/25 14:07
 * 作者:admin
 * 版本:1.0
 **/
//@Configuration
public class Tesss {

    //想当于<bean></bean>
    @Bean
    public TestService getdd(){
        return  new TestServiceImpl();
    }


}
